<?php namespace Common\Model;
use Hdphp\Model\Model;

class Orderlist extends Model
{
	protected $table='orderlist';
	protected $validate=array(
	   	array('olnum','required','数量不能为空',3,3),
		);
    public function store($hudata){
    	if (!$this->create()) return false;
    	$this->add($hudata);
    	return true;
    }
}
?>